package main.java.cn.wolfcode.mapper;

import com.fasterxml.jackson.databind.deser.impl.CreatorCandidate;

import java.util.List;

public interface ActivityItemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(main.java.cn.wolfcode.domain.ActivityItem record);

    main.java.cn.wolfcode.domain.ActivityItem selectByPrimaryKey(Long id);

    List<main.java.cn.wolfcode.domain.ActivityItem> selectAll();

    int updateByPrimaryKey(main.java.cn.wolfcode.domain.ActivityItem record);

    List<main.java.cn.wolfcode.domain.ActivityItem> selectForList(main.java.cn.wolfcode.qo.QueryObject qo);

    List<main.java.cn.wolfcode.domain.ActivityItem> selectByActivityId(Long id);
    int  selectCount(Long id);
    void  insertRelation(@CreatorCandidate.Param("empId") Long empId, @Param("actId") Long actId, @Param("create_time") Date create_time);

    void updateNumByActivityItemId(Long optionsRadios);
}